n = int(input("请输入正整数："))
num = 0
if n <= 0:
    print("输入正整数不合法")
else:
    for i in range(0,n):
        if i%2 == 0:
            continue
        num += 1
print(f"奇数的个数有{num}个")
